﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TestPetaPoco.Common
{
    public sealed class ResponseModel
    {
        public ResponseModel()
        {
            IsSuccess = true;
        }

        /// <summary>
        /// 调用是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public object Data { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public ResponseError ResponseError { get; set; }

        /// <summary>
        /// 页面选中主键
        /// </summary>
        public object CheckedKey { get; set; }

        /// <summary>
        /// 提示信息
        /// </summary>
        /// <author>柯广强 2015/11/11</author>
        public string Message { get; set; }
    }
}